<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:fragment="head">
    <div style="width: 100%;height: 3vw;display: flex;justify-content: space-between">

        <a style="font-size: 50px"><img src="/img/logo.gif"></a>
        <div style="float: right;margin-right: 100px">

            <a href="/api/blog/go2addBook">添加博客</a>
         [
            <a href="/api/fore/geren">
                <span th:text="${session.SPRING_SECURITY_CONTEXT.authentication.principal.username}"></span> 个人中心
            </a>
           ]
            <a href="/api/fore/hello">
                退出
            </a>

        </div>
</div>

</body>
</html>